COURSE INTRODUCTION AND APPLICATION INFORMATION


Course Name
Microcontrollers
Code
Semester
Theory
(hour/week)
Application/Lab
(hour/week)
Local Credits
ECTS
MCE 202
Spring
2
2
3
6
Prerequisites
None
Course Language
English
Course Type
Required
Course Level
First Cycle
Mode of Delivery -
Teaching Methods and Techniques of the Course
Course Coordinator
Course Lecturer(s)
Assistant(s) -
Course Objectives 1. To introduce the Arduino IDE and Micropython development environments for microcontroller application development 2. To introduce the basics of microcontroller hardware architecture 3. To introduce microcontroller peripherals and communication protocols 4. To develop projects in which microcontrollers communicate with sensors and actuators to achieve meaningful tasks
Learning Outcomes The students who succeeded in this course;
  • Describe architecture of microcontrollers
  • Develop microcontroller programs using the C++ language
  • Develop microcontroller programs using the Python language
  • Use inputs and outputs to use peripheral devices
  • Compose communication signals with external systems
  • Design basic embedded systems in terms of hardware and software
Course Description Microcontrollers, Introduction to embedded systems. Microprocessors and architectures. Memory, register and interrupt logic. Reset, clock, timer modules. Input / Output ports, serial communication types, ADC modules. Sensors and connection types. Special purpose microcontrollers, Microcontroller programming. Programming in C++, Programming in Python, Arduino IDE, Micropython, Embedded system design. Use of test and measuring instruments
Related Sustainable Development Goals

 



Course Category

Core Courses
Major Area Courses
X
Supportive Courses
Media and Managment Skills Courses
Transferable Skill Courses

 

WEEKLY SUBJECTS AND RELATED PREPARATION STUDIES

Week Subjects Required Materials
1 Introduction (features of microcontrollers, usage areas, types, special purpose controllers: Arduino, ESP32 etc.) Internet resources and lecture notes
2 Microcontroller core architecture (ROM, Flash, RAM, EEPROM, registers, reset, clock, interrupts) 8-bit AVR® Microcontrollers, http://microchipdeveloper.com/8avr:start
3 Introduction to microcontroller programming with C++ Programming Arduino: Getting Started with Sketches, Simon Monk, 2nd Ed. McGraw-Hill, 2016
4 Introduction to microcontroller programming with C++ Programming Arduino: Getting Started with Sketches, Simon Monk, 2nd Ed. McGraw-Hill, 2016
5 Introduction to microcontroller programming with Python Programming with MicroPython: Embedded Programming with Microcontrollers and Python, Nicholas H. Tollervey, O'Reilly Media, 2017
6 Introduction to microcontroller programming with Python Programming with MicroPython: Embedded Programming with Microcontrollers and Python, Nicholas H. Tollervey, O'Reilly Media, 2017
7 Microcontroller Input/Output (GPIO, ADC, PWM) 8-bit AVR® Microcontrollers, http://microchipdeveloper.com/8avr:start
8 Midterm Exam
9 Communication Protocols (UART, SPI, I2C) 8-bit AVR® Microcontrollers, http://microchipdeveloper.com/8avr:start
10 Sensors Programming Arduino: Getting Started with Sketches, Simon Monk, 2nd Ed. McGraw-Hill, 2016 Programming with MicroPython: Embedded Programming with Microcontrollers and Python, Nicholas H. Tollervey, O'Reilly Media, 2017
11 Actuators Programming Arduino: Getting Started with Sketches, Simon Monk, 2nd Ed. McGraw-Hill, 2016 Programming with MicroPython: Embedded Programming with Microcontrollers and Python, Nicholas H. Tollervey, O'Reilly Media, 2017
12 Communication Peripherals (ESP8266 WiFi, HC-05 Bluetooth) Internet resources and lecture notes
13 Communication Protocols (HTTP, MQTT) Kolban’s Book on ESP8266, Leanpub, 2016
14 Project workshop
15 Project workshop -
16 Review of the semester -
Course Notes/Textbooks

Programming Arduino: Getting Started with Sketches, Simon Monk, 2nd Ed. McGraw-Hill, 2016 Programming with MicroPython: Embedded Programming with Microcontrollers and Python, Nicholas H. Tollervey, O'Reilly Media, 2017

Suggested Readings/Materials Lecture notes

 

EVALUATION SYSTEM

Semester Activities Number Weigthing
Participation
Laboratory / Application
10
20
Field Work
Quizzes / Studio Critiques
Portfolio
Homework / Assignments
Presentation / Jury
Project
1
20
Seminar / Workshop
Oral Exam
Midterm
1
20
Final Exam
1
40
Total

Weighting of Semester Activities on the Final Grade
12
75
Weighting of End-of-Semester Activities on the Final Grade
1
25
Total

ECTS / WORKLOAD TABLE

Semester Activities Number Duration (Hours) Workload
Course Hours
(Including exam week: 16 x total hours)
16
2
32
Laboratory / Application Hours
(Including exam week: 16 x total hours)
16
2
Study Hours Out of Class
16
3
48
Field Work
Quizzes / Studio Critiques
Portfolio
Homework / Assignments
Presentation / Jury
Project
1
38
Seminar / Workshop
Oral Exam
Midterms
1
15
Final Exams
1
15
    Total
180

 

COURSE LEARNING OUTCOMES AND PROGRAM QUALIFICATIONS RELATIONSHIP

#
Program Competencies/Outcomes
* Contribution Level
1
2
3
4
5
1

To have knowledge in Mathematics, science, physics knowledge based on mathematics; mathematics with multiple variables, differential equations, statistics, optimization and linear algebra; to be able to use theoretical and applied knowledge in complex engineering problems

X
2

To be able to identify, define, formulate, and solve complex mechatronics engineering problems; to be able to select and apply appropriate analysis and modeling methods for this purpose.

X
3

To be able to design a complex electromechanical system, process, device or product with sensor, actuator, control, hardware, and software to meet specific requirements under realistic constraints and conditions; to be able to apply modern design methods for this purpose.

X
4

To be able to develop, select and use modern techniques and tools necessary for the analysis and solution of complex problems encountered in Mechatronics Engineering applications; to be able to use information technologies effectively.

X
5

To be able to design, conduct experiments, collect data, analyze and interpret results for investigating Mechatronics Engineering problems.

X
6

To be able to work effectively in Mechatronics Engineering disciplinary and multidisciplinary teams; to be able to work individually.

X
7

To be able to communicate effectively in Turkish, both in oral and written forms; to be able to author and comprehend written reports, to be able to prepare design and implementation reports, to present effectively, to be able to give and receive clear and comprehensible instructions.

X
8

To have knowledge about global and social impact of engineering practices on health, environment, and safety; to have knowledge about contemporary issues as they pertain to engineering; to be aware of the legal ramifications of engineering solutions.

X
9

To be aware of ethical behavior, professional and ethical responsibility; information on standards used in engineering applications.

X
10

To have knowledge about industrial practices such as project management, risk management and change management; to have awareness of entrepreneurship and innovation; to have knowledge about sustainable development.

11

Using a foreign language, he collects information about Mechatronics Engineering and communicates with his colleagues. ("European Language Portfolio Global Scale", Level B1)

X
12

To be able to use the second foreign language at intermediate level.

13

To recognize the need for lifelong learning; to be able to access information; to be able to follow developments in science and technology; to be able to relate the knowledge accumulated throughout the human history to Mechatronics Engineering.

X

*1 Lowest, 2 Low, 3 Average, 4 High, 5 Highest